@charset "utf-8";

/* ad */

#nav {
    background-color: #fff;
}

#nav .ad {
    overflow: hidden;
    min-width: 1100px;
    height: 85px;
}

#nav .ad a {
    display: block;
}

#nav .ad a img {
    width: 1600px;
    position: relative;
    transform: translate(-50%, -20%);
    left: 50%;
    top: 20%;
}


/* 顶部导航  */

#nav .top-nav {
    background-color: #000;
    height: 30px;
    line-height: 30px;
}

#nav .top-nav .tn-left li {
    float: left;
    margin-left: 30px;
}

#nav .top-nav a {
    display: inline-block;
    height: 30px;
}

#nav .top-nav .tn-left li a:hover {
    color: #fff;
}

#nav .top-nav .tn-right ul {
    float: right;
}

#nav .top-nav .tn-right li {
    float: left;
}

#nav .top-nav .tn-right li a {
    padding: 0 15px;
}

#nav .top-nav .tn-right li a:hover {
    background-color: #fff;
    color: red;
}

#nav .top-nav .tn-right .daily {
    padding: 0;
    margin-left: 30px;
}

#nav .top-nav .tn-right .daily:hover {
    background-color: #000;
    color: #fff;
}

#nav .top-nav .tn-right .pc {
    margin-left: 15px;
}

#nav .top-nav .tn-right i {
    position: relative;
    top: -2px;
    display: inline-block;
    border: 4px solid #999;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    transition: transform .1s ease-in;
    transform-origin: center 6px;
}

#nav .top-nav .tn-right .icon:hover i {
    transform: rotate(-180deg);
    border-bottom-color: red;
}


/* logo search cart */

#nav .func {
    height: 100px;
}

#nav .func .logo {
    float: left;
    position: relative;
    top: 17.5px;
}

#nav .func .search {
    width: 580px;
    height: 40px;
    float: right;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}

#nav .func .search i {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../images/moreicon.png) no-repeat;
    background-position: -466px -667px;
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

#nav .func .search .sea-b {
    float: right;
    width: 50px;
    height: 40px;
    background-color: red;
    border-radius: 30px;
    background-image: url(../images/search-b.png);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center center;
    position: relative;
    left: -60px;
    cursor: pointer;
}

#nav .func .search .sea-b:hover {
    cursor: pointer;
    background-color: #ff2d59;
}

#nav .func input {
    width: 511px;
    height: 40px;
    outline: none;
    border: 2px solid red;
    border-radius: 30px;
    /*可用padding替代text-indent*/
    text-indent: 2em;
    /* background-color: rgba(144, 146, 153, .3); */
}

#nav .func input::placeholder {
    font-style: italic;
}

#nav .func .cart {
    width: 106px;
    height: 36px;
    border: 2px solid red;
    border-radius: 30px;
    float: right;
    line-height: 36px;
    font-size: 14px;
    color: #333;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}

#nav .func .cart:hover {
    background-color: #fff4f5;
    cursor: pointer;
}

#nav .func .cart span {
    margin-left: 40px;
}

#nav .func .cart img {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 20px;
}